package test.excel.dto;

import java.util.ArrayList;
import java.util.List;

import test.excel.workbook.ColDefinition;

public class SheetDto {
    private List<RowDto> rows = new ArrayList<RowDto>();

    private String tableName;

    private List<ColDefinition> colDefs = new ArrayList<ColDefinition>();

    public List<RowDto> getRows() {
        return rows;
    }

    public SheetDto(String tableName, List<ColDefinition> colDefs) {
        this.tableName = tableName;
        this.colDefs = colDefs;
    }

	public String getTableName() {
		return tableName;
	}

	public List<ColDefinition> getColDefs() {
		return colDefs;
	}
}
